<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Login</title>
<script type="text/javascript" src="../js/jquery-1.11.1.min.js"></script>
<script type="text/javascript">
		var msg = '${msg}';
		if(msg != null && msg != '' && msg != undefined && msg != 'null'){
			alert(msg);
	}
</script>
</head>
<body>
	<form action="login.do" method="post">
		<table border="1" cellspacing="0" align="center">
			<tr>
				<td>账号</td>
				<td><input type="text" name="username" /></td>
			</tr>
			<tr>
				<td>密码</td>
				<td><input type="password" name="password" /></td>
			</tr>
			<tr>
				<td colspan="2"><button type="submit" >登录</button></td>
			</tr>
			<tr>
				<td colspan="2"><a href="toAdd.do">注册</a></td>
			</tr>
		</table>
	</form>
</body>
</html>